﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

#nullable disable

namespace lso_2u_Web应用开发.Models.Database
{
    [Table("Task")]
    public partial class Task
    {
        [Key]
        [Column("id")]
        public int Id { get; set; }
        [Required]
        [Column("notes")]
        public string Notes { get; set; }
        [Column("create_time", TypeName = "datetime")]
        public DateTime CreateTime { get; set; }
        [Column("complete_time", TypeName = "datetime")]
        public DateTime? CompleteTime { get; set; }
        [Column("FK_order_id")]
        public int FkOrderId { get; set; }
        [Column("FK_factory_id")]
        public int FkFactoryId { get; set; }
    }
}
